home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Oct 89 / Z0164-Circular object ref-Oct89 < prev    next >
Encoding:
Text File  |  1989-10-23  |  1.2 KB  |  33 lines  |  [TEXT/GEOL]

  1. Item    0973028                         23-Oct-89        16:08
  2.  
  3. From:   D0671                           Market Eng, Eric Weissmann,PRT
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    Circular object ref compiles
  8.  
  9. Hello:
  10.  
  11. We are having difficulty making our stuff compile in multiple units.  Our
  12. program consists of an assorment of incestuous (i.e. they all send messages to
  13. each other) classes.  However, the classes are getting somewhat large and we
  14. would like to split them into separate compilation units.
  15.  
  16. In order to do so, we have appempted to create a unit with the declaration for
  17. several classes, but without the code (implementation section) for the class
  18. methods.
  19.  
  20. According to the MPW Pascal version 3.0 manual, page 286, a unit is not
  21. required to have an implementation section.  Further, we read the description
  22. of the $J+ option (same manual) to indicate that with J+, the interface may be
  23. provided without the implementation (with the method code resolved in a
  24. separate unit).  Unfortunately, we have not been able to get past the
  25. unimplemented method errors when compiling our declaration unit.
  26.  
  27. I'd appreciate any suggestions on how to compile this unit, or other ways to
  28. get around the circular uses problem.
  29.  
  30. Than you very much,
  31. Eric
  32.  
  33.